.-
help for ^rensfix^                                                 (STB-59: dm83)
.-

Rename variable, changing suffix
--------------------------------

	^rensfix^ old_stub [ new_stub ]


Description
-----------

^rensfix^ renames all variables whose names end with old_stub, so that they
end instead with new_stub.  If new_stub is not specified, old_stub is removed.


Examples
--------

   . ^u auto, clear^ 
   (1978 Automobile Data)

   . ^ds^ 
   make      price     mpg       rep78     hdroom    trunk     weight    length   
   turn      displ     gratio    foreign   

   . ^rensfix 78^ 

   . ^ds^
   make      price     mpg       rep       hdroom    trunk     weight    length   
   turn      displ     gratio    foreign   

   . ^rensfix e 123^ 

   . ^ds^ 
   mak123    pric123   mpg       rep       hdroom    trunk     weight    length   
   turn      displ     gratio    foreign   

   . ^rensfix 123 12345^ 
   pric12345 invalid name
   r(198);

   . ^ds^ 
   mak123    pric123   mpg       rep       hdroom    trunk     weight    length   
   turn      displ     gratio    foreign   


Authors
-------

	Stephen P. Jenkins 
	University of Essex, U.K. 
	stephenj@@essex.ac.uk
	
	Nicholas J. Cox 
	University of Durham, U.K. 
	n.j.cox@@durham.ac.uk
	
	
Also see
--------

 Manual:  [R] rename
On-line:  help for @renpfix@, @rename@ 

